import React from "react";
import ReactDOM from "react-dom";
import PropTypes from "prop-types";

function App({ name }) {
    return (
        <div>
            <h1>{name}</h1>
        </div>
    );
}

App.propTypes = {
    name: PropTypes.bool
};

App.propTypes = {
    name: PropTypes.oneOfType([
        PropTypes.bool,
        PropTypes.bool
    ])
};


export default App